(#933) Remove duplicate output from console and Chocolatey GUI logs #954
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description Of Changes
Remove duplicate output from the Chocolatey GUI Console output, and the Chocolatey GUI logs.
Motivation and Context
Messages were being duplicated in both the console output view, and the Chocolatey GUI logs.
Testing
Note: This performs an upgrade by creating the upgraded package after it's installed in Chocolatey GUI due to discovering #953 whereby we can't seem to specify the version.
Second note: The package used here is a series of outputs with 30 second sleeps between and after them. This allows you to watch/monitor the logs without needing to be hyper vigilant and risk missing the output.
git clone https://gist.github.com/110756b357445cbaa815dbefe7e7c69b.git
choco pack 110756b357445cbaa815dbefe7e7c69b/delayed.nuspec
choco source add -n delayedTest -s $PWD/110756b357445cbaa815dbefe7e7c69b
delayedTest
sourcedelayed
packageC:\ProgramData\Chocolatey GUI\Logs\ChocolateyGui.<date>.log
C:\ProgramData\chocolatey\logs\chocolatey.log
choco pack 110756b357445cbaa815dbefe7e7c69b/delayed.nuspec --version 10.1.1
delayed
packagedelayed
packagedelayed
packagechoco source delete -n delayedTest
Change Types Made
Related Issue
Fixes #933
Change Checklist